Skip to content

feat(valkey): add Valkey module#947

Merged
alexanderankin merged 8 commits intotestcontainers:mainfrom
daric93:valkey_test_container
Apr 9, 2026
Merged

feat(valkey): add Valkey module#947
alexanderankin merged 8 commits intotestcontainers:mainfrom
daric93:valkey_test_container

Conversation

@daric93
Copy link
Copy Markdown
Contributor

@daric93 daric93 commented Jan 5, 2026

I’d like to add Valkey, the open-source fork of Redis, as a dedicated Testcontainers module.

@daric93
Copy link
Copy Markdown
Contributor Author

daric93 commented Feb 9, 2026

Hi @alexanderankin, I opened this PR to add Valkey test container as mentioned in this ticket. Would appreciate a review when you have a moment. Thanks!

@Tranquility2 Tranquility2 changed the title Valkey Test Container feat(valkey): add Valkey module Apr 3, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.05%. Comparing base (6ecf347) to head (2108a20).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #947   +/-   ##
=======================================
  Coverage   83.05%   83.05%           
=======================================
  Files          16       16           
  Lines        1700     1700           
  Branches      186      186           
=======================================
  Hits         1412     1412           
  Misses        234      234           
  Partials       54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Tranquility2 Tranquility2 linked an issue Apr 3, 2026 that may be closed by this pull request
@Tranquility2 Tranquility2 added 🛠️ needs more work Need to invest more time, can be a rebase or code updates and removed ✨ feat labels Apr 3, 2026
daric93 added 3 commits April 7, 2026 11:59
Signed-off-by: Daria Korenieva <daric2612@gmail.com>
@daric93 daric93 force-pushed the valkey_test_container branch from 4c8007b to 21ec9f8 Compare April 7, 2026 19:52
Signed-off-by: Daria Korenieva <daric2612@gmail.com>
@daric93
Copy link
Copy Markdown
Contributor Author

daric93 commented Apr 7, 2026

@Tranquility2, please take another look when you have a chance: rebased onto latest main, addressed auto code review feedback, fixed CI issues.

@Tranquility2 Tranquility2 removed the 🛠️ needs more work Need to invest more time, can be a rebase or code updates label Apr 8, 2026
daric93 added 3 commits April 8, 2026 10:54
Signed-off-by: Daria Korenieva <daric2612@gmail.com>
@daric93
Copy link
Copy Markdown
Contributor Author

daric93 commented Apr 8, 2026

@Tranquility2, please take another look when you have a chance: fixed ci failures

self.waiting_for(ExecWaitStrategy(["valkey-cli", "-a", password, "ping"]))
return self

def with_image_tag(self, tag: str) -> "ValkeyContainer":
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even if this code gets merged now, which im inclined to do to just clear the backlog, this will not survive into v5 which i want to do asap. this is a method that belongs on the docker image datastructure not on container (or even base container)

@alexanderankin alexanderankin merged commit fc09dc1 into testcontainers:main Apr 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Container: TestContainer for Valkey

3 participants